Documents for PDF, .NET Edition Documentation
FindFamilyName(String[],Boolean,Boolean) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > FontCollection Class > FindFamilyName Method : FindFamilyName(String[],Boolean,Boolean) Method
The array of allowable font family name.
Indicates if the font should be embolded.
Indicates if the font should contain Italic characters.
Searches for a font from the set of allowable font family names and the specified style.
Syntax
'Declaration
 
Public Overloads Function FindFamilyName( _
   ByVal fontFamilyNames() As System.String, _
   Optional ByVal bold As System.Boolean, _
   Optional ByVal italic As System.Boolean _
) As Font
public Font FindFamilyName( 
   System.string[] fontFamilyNames,
   System.bool bold,
   System.bool italic
)

Parameters

fontFamilyNames
The array of allowable font family name.
bold
Indicates if the font should be embolded.
italic
Indicates if the font should contain Italic characters.

Return Value

The corresponding Font or null.
See Also

Reference

FontCollection Class
FontCollection Members
Overload List